﻿{extends file="profile/layout.tpl"}
{block name="title"}##NA_REVIEW_EN##{/block}
{block name="name"}
    ##NG_REVIEW##
{/block}
{block name="content"}
   

    <div class="message error" style="display:{$is_display_error|default:'none'};">{$error_message|default:''}</div>
    <div class="clear">
        </div>	
	<div style="text-align: center; margin-top:10px">
        
	<input type="button" value="##LB_EXPORT##" name="download" onclick="window.location.href='print.php?reviewlang=en'" class="btn btn-blue"/>
	</div>
	
	<div class="box round first center">
		<h2>PERSONAL INFORMATION</h2>
		<table class="data display datatable" cellpadding="10" cellspacing="10" 
			align="left" border="2">
			<tbody>
				<tr>
					<td width="25%"><strong>FULL NAME:</strong></td>
					<td>
						<label>{$name|default:''}</label>
					</td>
				</tr>
				<tr>
					<td><strong>GENDER:</strong></td>
					<td>
						<label>{if $gender|default:0==1}Male
                                                {else}Female{/if}</label>
					</td>
				</tr>
				<tr>
					<td><strong>BIRTHDAY:</strong></td>
					<td>
						<label>{$birthday|default:''|date_format:"%d-%m-%Y" }</label>
					</td>
				</tr>
				<tr>
					<td><strong>ID NUMBER:</strong></td>
					<td>
						<label>{$id_number|default:''}</label>
					</td>
				</tr>
				<tr>
					<td><strong>STUDENT NUMBER:</strong></td>
					<td>
						<label>{$student_number|default:''}</label>
					</td>
				</tr>
				<tr>
					<td><strong>TRAINEE NUMBER:</strong></td>
					<td>
						<label>{$trainee_number|default:''}</label>
					</td>
				</tr>
				
				<tr>
					<td><strong>SCIENTIFIC TITLE:</strong></td>
					<td>
						<label>{$scientific_title_en|default:''}</label>
					</td>
				</tr>
				<tr>
					<td colspan="2"><strong>CURRENT EMPLOYER:</strong></td>
				</tr>
				<tr>
					<td align="right"><strong>EMPLOYER:</strong></td>
					<td>
						<label>{$mainOrg_en|default:''}</label>
					</td>
				</tr>
				<tr>
					<td align="right"><strong>OFFICE DEPT:</strong></td>
					<td>
					   <label>{$office_dept|default:''}</label>
					</td>
				</tr>
				<tr>
					<td align="right"><strong>ADDRESS:</strong></td>
					<td>						
						<label>{$address|default:''}</label>
					</td>
				</tr>
				<tr>
					<td align="right"><strong>CITY:</strong></td>
					<td>
						<label>{$city|default:''}</label>				 
					</td>
				</tr>
				
				<tr>
					<td colspan="2"><strong>PHONE:</strong></td>
				</tr>
				<tr>
					<td align="right"><strong>OFFICE PHONE:</strong></td>
					<td>
					   <label>{$office_phone|default:''}</label>
					</td>
				</tr>
				<tr>
					<td align="right"><strong>MOBILE PHONE:</strong></td>
					<td>
					   <label>{$mobile_phone|default:''}</label>
					</td>
				</tr>
				<tr>
					<td colspan="2"><strong>BANK INFORMATION:</strong></td>
				</tr>
				<tr>
					<td align="right"><strong>ACCOUNT NUMBER:</strong></td>
					<td>
						<label>{$bank_account|default:''}</label>
					</td>
				</tr>
				<tr>
					<td align="right"><strong>OPEN AT:</strong></td>
					<td>
						<label>{$bank_name|default:''}</label>
					</td>
				</tr>
				
			</tbody>
		</table>
    </div>
    <div class="clear">
        </div>
		
	<div class="box round first center">
		<h2>QUALIFICATION</h2>
        <table class="data display datatable" name="educations" id="educations">
            <thead>
                <tr>
                    <td bgcolor="#FFFFFF"><div align="center"><strong>
                         #
                    </strong></div></td>
                    <td bgcolor="#FFFFFF"><strong>
                        TIME
                    </strong></td>
                    <td bgcolor="#FFFFFF"><strong>
                        INSTITUTION
                    </strong></td>
                    <td bgcolor="#FFFFFF"><strong>
                        MAJOR
                    </strong></td>
                    <td bgcolor="#FFFFFF"><strong>
                        DEGREE
                    </strong></td> 
                </tr>
            </thead>
            
            <tbody>
            {foreach $educations|default:array() as $i}                        
                {if $i@index is div by 2}
                    <tr class="even" id="{$i.Ma}">
                {else}
                    <tr class="odd" id="{$i.Ma}">
                {/if}
                    <td><div align="center">
                            {$i@index + 1}
                    </div></td>
                    <td>
                        {$i.TuNgay|date_format:"%m-%Y"} - {$i.DenNgay|date_format:"%m-%Y"}
                    </td>
                    <td>
                        {$i.TenCoSoDaoTao_en}
                    </td>
                    <td>
                        {$i.ChuyenNganh_en}
                    </td>
                    <td>
                        {$i.HocVi}
                    </td>
                    
                </tr> 
			{/foreach}
            </tbody> 
        </table>
	</div>
	<div class="clear">
	</div>
	
	<div class="box round first center">
		<h2>EXPERIENCES</h2>
        <table name="employs" id="employs" class="data display datatable">
            <thead>
                <tr>
                    <td bgcolor="#FFFFFF"><div align="center"><strong>
                         #
                    </strong></div></td>
                    <td bgcolor="#FFFFFF"><strong>
                        TIME
                    </strong></td>
                    <td bgcolor="#FFFFFF"><strong>
                        EMPLOYER
                    </strong></td>
                    <td bgcolor="#FFFFFF"><strong>
                        ADDRESS
                    </strong></td>
                    <td bgcolor="#FFFFFF"><strong>
                        POSITION
                    </strong></td>
                </tr>
            </thead>
            
            <tbody>
            {foreach $works|default:array() as $i}
                        
                {if $i@index is div by 2}
                    <tr class="even" id="{$i.Ma}">
                {else}
                    <tr class="odd" id="{$i.Ma}">
                {/if}
                    <td><div align="center">
                            {$i@index + 1}
                    </div></td>
                    <td>
                        {$i.TuNgay|date_format:"%m-%Y"} - {$i.DenNgay|date_format:"%m-%Y"}
                    </td>
                    <td>
                        {$i.TenToChuc_en}
                    </td>
                    <td>
                        {$i.DiaChi}
                    </td>
                    <td>
                        {$i.ChucVu_en}
                    </td>
				</tr>            
                    
               
            {/foreach}
            </tbody> 
        </table>
	</div>
	<div class="clear">
	</div>
	
	<div class="box round first center">
		<h2>RESEARCH EXPERIENCE AND ACHIEVEMENT</h2>
		<table class="data display datatable">
		<tr>
			<td colspan="2">
				<strong>1. RESEARCH ORIENTED</strong>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<label>{$research_oriented_en|default:''}</label>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<strong>2. RESEARCH GRANTS RECEIVED OR APPLIED</strong>
			</td>
		</tr>
		<tr>
			<td>
				<table class="data display datatable" >
				<thead>
					<tr>
						<td bgcolor="#FFFFFF"><div align="center"><strong>
							 #
						</strong></div></td>
						<td bgcolor="#FFFFFF"><strong>
							PROJECT NAME
						</strong></td>
						<td bgcolor="#FFFFFF"><strong>
							FUNDING INTITUTION
						</strong></td>
						<td bgcolor="#FFFFFF"><strong>
							PROJECT DURATION
						</strong></td>
						<td bgcolor="#FFFFFF"><strong>
							ROLE
						</strong></td>
					</tr>
				</thead>
				
				<tbody>
				{foreach $projects|default:array() as $i}
							
					{if $i@index is div by 2}
						<tr class="even">
					{else}
						<tr class="odd">
					{/if}
						<td><div align="center">
								{$i@index + 1}
						</div></td>
						<td>
							{$i.TenDeTai_en}
						</td>
						<td>
							{$i.TenToChucTaiTro_en}
						</td>
						<td>
							{$i.ThoiGianBatDau|date_format:"%m-%Y"} - {$i.ThoiGianKetThuc|date_format:"%m-%Y"}
						</td>
						<td>
							{$i.VaiTro_en}
						</td>
					</tr> 
				{/foreach}
				</tbody> 
			</table>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<strong>3. PUBLICATIONS AND ACCOMPLISHMENTS</strong>
			</td>
		</tr>
		<tr>
			<td>
				<table class="data display datatable" >
					<thead>
						<tr>
							<td bgcolor="#FFFFFF"><div align="center"><strong>
								 #
							</strong></div></td>
							<td bgcolor="#FFFFFF"><strong>
								PUBLICATIONS
							</strong></td>
							<td bgcolor="#FFFFFF"><strong>
								AUTHORS
							</strong></td>
							<td bgcolor="#FFFFFF"><strong>
								NAME OF PUBLISHERS
							</strong></td>
							<td bgcolor="#FFFFFF"><strong>
								ISSN
							</strong></td>
							<td bgcolor="#FFFFFF"><strong>
								PROOF
							</strong></td>
							<td bgcolor="#FFFFFF"><strong>
								NOTE
							</strong></td>
						</tr>
					</thead>
					
					<tbody>
					{foreach $results|default:array() as $i}
								
						{if $i@index is div by 2}
							<tr class="even">
						{else}
							<tr class="odd">
						{/if}
							<td><div align="center">
									{$i@index + 1}
							</div></td>
							<td>
								{$i.TenSanPham}
							</td>
							<td>
								{$i.TenTacGia}
							</td>
							<td>
								{$i.TenTapChi}
							</td>
							<td>
								{$i.ISSN}
							</td>
							<td>
								{$i.MinhChung}
							</td>
							<td>
								{$i.GhiChu}
							</td>
						</tr>
					{/foreach}
					</tbody> 
				</table>
			</td>
		</tr>
		</table>
	</div>
	<div class="clear">
	</div>
	
	<div class="box round first center">
		<h2>LANGUAGE SKILLS</h2>
		<table class="data display datatable" name="language" id="language">
            <thead>
                <tr class="odd">
                    <td bgcolor="#FFFFFF"><strong>
                        LANGUAGE
                    </strong></td>
                    <td bgcolor="#FFFFFF"><strong>
                        READ
                    </strong></td>
                    <td bgcolor="#FFFFFF"><strong>
                        WRITE
                    </strong></td>
                    <td bgcolor="#FFFFFF"><strong>
                        SPEAK
                    </strong></td>
                </tr>
            </thead>
			<tbody>
				<tr class="even">
					<td style="width:25%">
						<strong>ENGLISH</strong>
					</td>
					<td style="width:25%">
						{if $speak_en|default:1 == 1}
							<label>Poor/ deficient</label>
						{/if}
						{if $speak_en|default:1 == 2}
							<label>Fair</label>
						{/if}
						{if $speak_en|default:1 == 3}
							<label>Sufficient</label>
						{/if}
						{if $speak_en|default:1 == 4}
							<label>Fluent</label>
						{/if}
					</td>
					<td style="width:25%">
						{if $speak_en|default:1 == 1}
							<label>Poor/ deficient</label>
						{/if}
						{if $speak_en|default:1 == 2}
							<label>Fair</label>
						{/if}
						{if $speak_en|default:1 == 3}
							<label>Sufficient</label>
						{/if}
						{if $speak_en|default:1 == 4}
							<label>Fluent</label>
						{/if}
					</td>
					<td style="width:25%">
						{if $speak_en|default:1 == 1}
							<label>Poor/ deficient</label>
						{/if}
						{if $speak_en|default:1 == 2}
							<label>Fair</label>
						{/if}
						{if $speak_en|default:1 == 3}
							<label>Sufficient</label>
						{/if}
						{if $speak_en|default:1 == 4}
							<label>Fluent</label>
						{/if}
					</td>
				</tr>
				
				<tr class="odd">
					<td style="width:25%">
						<strong>OTHER LANGUAGE</strong>
					</td>
					<td style="width:25%">
						{if $speak_other|default:1 == 1}
							<label>Poor/ deficient</label>
						{/if}
						{if $speak_other|default:1 == 2}
							<label>Fair</label>
						{/if}
						{if $speak_other|default:1 == 3}
							<label>Sufficient</label>
						{/if}
						{if $speak_other|default:1 == 4}
							<label>Fluent</label>
						{/if}
					</td>
					<td style="width:25%">
						{if $speak_other|default:1 == 1}
							<label>Poor/ deficient</label>
						{/if}
						{if $speak_other|default:1 == 2}
							<label>Fair</label>
						{/if}
						{if $speak_other|default:1 == 3}
							<label>Sufficient</label>
						{/if}
						{if $speak_other|default:1 == 4}
							<label>Fluent</label>
						{/if}
					</td>
					<td style="width:25%">
						{if $speak_other|default:1 == 1}
							<label>Poor/ deficient</label>
						{/if}
						{if $speak_other|default:1 == 2}
							<label>Fair</label>
						{/if}
						{if $speak_other|default:1 == 3}
							<label>Sufficient</label>
						{/if}
						{if $speak_other|default:1 == 4}
							<label>Fluent</label>
						{/if}
					</td>
				</tr>
			</tbody>
		</table>				
	</div>
	<div class="clear">
	</div>
	
	<div class="box round first center">
		<h2>SOCIAL ACTIVITIES</h2>
        <table class="data display datatable" name="social_activities" id="social_activities">
            <thead>
                <tr>
                    <td bgcolor="#FFFFFF"><div align="center"><strong>
                         #
                    </strong></div></td>
                    <td bgcolor="#FFFFFF"><strong>
                        ACTIVITY NAME
                    </strong></td>
                    <td bgcolor="#FFFFFF"><strong>
                        TIME
                    </strong></td>
                    <td bgcolor="#FFFFFF"><strong>
                        ADDRESS
                    </strong></td>
					<td bgcolor="#FFFFFF"><strong>
                        ROLE
                    </strong></td>
                </tr>
            </thead>
            
            <tbody>
            {foreach $social_activities|default:array() as $i}
                        
                {if $i@index is div by 2}
                    <tr class="even">
                {else}
                    <tr class="odd">
                {/if}
                    <td><div align="center">
                        {$i@index + 1}
                    </div></td>
                    <td>
                        {$i.TenHoatDong}
                    </td>
                    <td>
						{$i.TuNgay|date_format:"%m-%Y"} - {$i.DenNgay|date_format:"%m-%Y"}
                    </td>
                    <td>
                        {$i.DiaChi}
                    </td>
                    <td>
                        {$i.VaiTro}
                    </td>
			{/foreach}
            </tbody> 
        </table>
	</div>
	<div class="clear">
	</div>
	
	<div class="box round first center">
        <h2>ADDITIONAL INFORMATION</h2>
		<table class="data display datatable" cellpadding="10" cellspacing="10" 
			align="left" border="2">
			<tbody>
				<tr>
					<td style="vertical-align:middle; width:20%"><strong>MORE INFO</strong></td>
					<td>
						<label>{$moreinfo_en|default:''}</label>
					</td>
				</tr>
				
				<tr>
					<td>
						<strong>HEALTH</strong>
					</td>
					<td>
						{if $health|default:1 == 1}
							<label>Weak</label>
						{/if}
						{if $health|default:1 == 2}
							<label>Average</label>
						{/if}
						{if $health|default:1 == 3}
							<label>Good</label>
						{/if}
					</td>
				</tr>
			</tbody>
		</table>
    </div>
    <div class="clear">
        </div>
{/block}